package com.springboot.framework.service;

import com.springboot.framework.model.UserAddressModel;

import java.util.List;

/**
 * @Author SWF
 * @Date 2019/6/10 22:56
 **/
public interface BuyerAddressService {

    UserAddressModel get(Integer addressId);

    UserAddressModel get(String openId , String address);

    List<UserAddressModel> list(String openId);

    UserAddressModel insert(UserAddressModel userAddressModel);

    UserAddressModel update(UserAddressModel userAddressModel);

    void delete(UserAddressModel userAddressModel);
}
